package com.ctg.itrdc.sysmgr.permission.core.control;

import java.io.Serializable;

public class CommonResult implements Serializable {
	
	private static final long serialVersionUID = -6986436285761844311L;
	private String resultCode;//0成功，-1失败
	private String resultMsg;
	private Object data;
	
	public CommonResult(){
		
	}
	
	public CommonResult(String resultCode,String resultMsg){
		this.resultCode=resultCode;
		this.resultMsg=resultMsg;
	}
	public CommonResult(String resultCode,String resultMsg,Object data){
		this.resultCode=resultCode;
		this.resultMsg=resultMsg;
		this.data=data;
	}
	
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	public String getResultCode() {
		return resultCode;
	}
	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}
	public String getResultMsg() {
		return resultMsg;
	}
	public void setResultMsg(String resultMsg) {
		this.resultMsg = resultMsg;
	}
	
	
}
